package com.lbj.mall.common.constant;

/**
 * 采购需求状态
 */
public enum WarePurchaseNeed {
    NEW(0, "新建"),
    SELECT(1, "已分配"),
    STARTING(2, "正在采购"),
    FINISH(3, "已完成"),
    ERROR(4, "采购失败");

    private int code;
    private String msg;

    WarePurchaseNeed(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
